package pushtest.mobike.com.mtpush.di.module

import android.content.Context
import dagger.Module
import dagger.Provides
import pushtest.mobike.com.mtpush.di.anonation.PerActivity
import pushtest.mobike.com.mtpush.viewModel.ViewModelMain

/**
 * @author  wangxiaolong
 * @time    17/08/2018
 * @desc
 */
@Module
class ActivityModule {

  @Provides
  @PerActivity
  fun provideMainViewModel(context: Context) =
    ViewModelMain(context)

}